package com.gxa.entity.points;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 积分类型
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 10:36:06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_integral_type")
@ApiModel(value = "IntegralType对象", description = "积分类型")
public class IntegralType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号，积分类型表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("积分类型编号 ")
    @TableField("type_number")
    private String typeNumber;

    @ApiModelProperty("积分类型名字 ")
    @TableField("type_name")
    private String typeName;

    @ApiModelProperty("单项积分")
    @TableField("type_value")
    private Integer typeValue;


    @ApiModelProperty("0为每天 1为每周")
    @TableField("calculationrules_id")
    private Integer calculationrulesId;

    @ApiModelProperty("0 正常 1为删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
